package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.supervision.dto.create.JzdxEmploymentCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxEmploymentResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxEmploymentUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxEmploymentEntity;

public interface JzdxEmploymentService extends IService<JzdxEmploymentEntity> {
    /**
     * 查询就学就业信息
     *
     * @param code 矫正对象编号
     * @return JzdxEmploymentDTO
     */
    JzdxEmploymentResultDTO find(String code);

    Boolean create(JzdxEmploymentCreateDTO employment, String code);

    void setPreProfession(JzdxEmploymentResultDTO result);

    Boolean updateByCode(JzdxEmploymentUpdateDTO dto, String code);
}